package msc.dodo.wtb.response;

public enum RespStatus {

    SUCCESS(0,"成功"),
    SYSTEM_EXCEPTION(-9999,"系统异常"),
    REQUEST_PARAM_ILLEGAL(10000,"请求参数非法")
    ;

    private int code;
    private String message;
    RespStatus(int code, String message) {
        this.code=code;
        this.message=message;
    }
    public int getCode(){
        return this.code;
    }
    public String getMessage(){
        return this.message;
    }
}
